package com.woniuxy.creditsystem.common.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data   //订单表
@NoArgsConstructor
@AllArgsConstructor
public class OrderInfo implements Serializable {

  private long id;
  private String num;       //订单号
  private Date orderTime;   //下单时间
  private long applyNum;    //申请次数
  private String status;    //订单状态
  private double sumMoney;  //累计放款
  private Date submitTime;  //提交时间



  private int overduedays;      //最大逾期天数
  private long fkOrderId;
  private long fkCustomerId;//客户id
  private long fkProductId; //产品id


  private ApplyInfo applyInfo; //订单外键



}
